package com.luxk.db.tests;

public class SQLExec {
	
	private Node root = null;
	
	public void init() {
		this.root = new NodeProj();
	}
	
	public void bind(int no, Object val) {}
	
	public int execute(Object outBuf) {
		return 0;
	}

}

abstract class Node {
	protected Node parent;
	protected Node childL;
	protected Node childR;

	public void setParent(Node node) {
		this.parent = node;
	}
	public void setChildL(Node node) {
		this.childL = node;
	}
	public void setChildR(Node node) {
		this.childR = node;
	}
	
	public abstract void exec();

}

class NodeProj extends Node {
	public void exec() {}
}

class NodeTableScan extends Node {
	public void exec() {}
}

class NodeIndexScan extends Node {
	public void exec() {}
}

class NodeRowidScan extends Node {
	public void exec() {}
}

class NodeDBLink extends Node {
	public void exec() {}
}

class NodeHashJoin extends Node {
	public void exec() {}
}

class NodeNLJoin extends Node {
	public void exec() {}
}

class NodeHashSort extends Node {
	public void exec() {}
}

class NodeHashGroupBy extends Node {
	public void exec() {}
}

class NodeInsert extends Node {
	public void exec() {}
}

class NodeUpdate extends Node {
	public void exec() {}
}

class Nodedelete extends Node {
	public void exec() {}
}